package com.hackordie.operations;

import com.hackordie.commons.HackOrDieResult;
import com.hackordie.daos.ComputerTypeDao;
import com.hackordie.exceptions.HackOrDieException;

public abstract class AHackOrDieOperationComputerType extends AHackOrDieOperation {

	protected ComputerTypeDao computerTypeDao;

	public AHackOrDieOperationComputerType() {
		super();		
		computerTypeDao = factory.getBean("computerTypeDao", ComputerTypeDao.class);
	}

	protected abstract boolean checkParameters();

	protected abstract HackOrDieResult executeOperation() throws HackOrDieException;
}
